<?php
class UserGuideAction extends Action{
	//子模块
	var $sub_module = array("Instruction","ServiceProtocol","Edi","QualityCheck","Tax","Pass");

	//显示主页
	public function index(){
		foreach($this->sub_module as $v){
			$model = M($v);
			$list = $model->where("state=1")->order("publishtime desc")->limit(5)->select();
			$this->assign($v,$list);
		}
		$this->display("userGuide");
	}

}
?>
